the set of laws drawn up by Babylonian king Hammurabi dating to the 18th century BC, the earliest legal code known in its entirety